package com.lovo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(name = "shopHD")
public interface FShopHDService {

    @PutMapping("hd/detail/sellProduct/{productId}/{num}")
    public boolean sellProduct(@PathVariable("productId") Integer productId,
                               @PathVariable("num") Integer num);

}
